package com.qixin.modules.rzInvoice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qixin.modules.rzInvoice.entity.EaBillItem;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * @Description: ea_bill_item
 * @Author: qixin-boot
 * @Date:   2021-09-10
 * @Version: V1.0
 */
public interface EaBillItemMapper extends BaseMapper<EaBillItem> {
    public List<Map<String,Object>> getAirPlaneSeatName(String seat);

    // update-begin-by wujinbiao 2022/2/22 21:29 for 通过发票id找对应的发票明细
    @Select("select * from ea_bill_item where pid = #{fpid}")
    List<EaBillItem> selectByPid(@Param("fpid") String fpid);
    // update-end-by wujinbiao 2022/2/22 21:29 for 通过发票id找对应的发票明细

}
